import supabase from './supabase.js'

export async function getList(){
  let { data } = await supabase
  .from('test')
  .select('*')
  return data
  console.log('res',res)
}

export async function addData(){
  const { data, error } = await supabase
  .from('test')
  .insert([
    { created_at: Math.random(), },
  ])
}